package icu.qx.wm.domain;

import java.io.Serializable;
import java.util.List;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 仓库
 * &#064;TableName  wm_warehouse
 */
public class WmWarehouse extends BaseEntity implements Serializable {
    /** 仓库编码 */
    @Excel(name = "仓库编码")
    private String wCode;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    private String wName;

    /** 面积 */
    @Excel(name = "面积")
    private Double wArea;

    /** 负责人 */
    @Excel(name = "负责人")
    private String wManager;

    /** 位置 */
    @Excel(name = "位置")
    private String wPosition;

    /** 备注 */
    @Excel(name = "备注")
    private String wDesc;

    /**
     * 库区
     */
    private List<WmStorageArea> wmStorageAreaList;

    /**
     * 库区数量
     */
    private int storageAreaCount;

    private static final long serialVersionUID = 1L;

    public WmWarehouse() {
    }

    public WmWarehouse(String wCode, String wName, Double wArea, String wManager, String wPosition, String wDesc, List<WmStorageArea> wmStorageAreaList, int storageAreaCount) {
        this.wCode = wCode;
        this.wName = wName;
        this.wArea = wArea;
        this.wManager = wManager;
        this.wPosition = wPosition;
        this.wDesc = wDesc;
        this.wmStorageAreaList = wmStorageAreaList;
        this.storageAreaCount = storageAreaCount;
    }

    @Override
    public String toString() {
        return "WmWarehouse{" +
                "wCode='" + wCode + '\'' +
                ", wName='" + wName + '\'' +
                ", wArea=" + wArea +
                ", wManager='" + wManager + '\'' +
                ", wPosition='" + wPosition + '\'' +
                ", wDesc='" + wDesc + '\'' +
                ", wmStorageAreaList=" + wmStorageAreaList +
                ", storageAreaCount=" + storageAreaCount +
                '}';
    }

    public String getwCode() {
        return wCode;
    }

    public void setwCode(String wCode) {
        this.wCode = wCode;
    }

    public String getwName() {
        return wName;
    }

    public void setwName(String wName) {
        this.wName = wName;
    }

    public Double getwArea() {
        return wArea;
    }

    public void setwArea(Double wArea) {
        this.wArea = wArea;
    }

    public String getwManager() {
        return wManager;
    }

    public void setwManager(String wManager) {
        this.wManager = wManager;
    }

    public String getwPosition() {
        return wPosition;
    }

    public void setwPosition(String wPosition) {
        this.wPosition = wPosition;
    }

    public String getwDesc() {
        return wDesc;
    }

    public void setwDesc(String wDesc) {
        this.wDesc = wDesc;
    }

    public List<WmStorageArea> getWmStorageAreaList() {
        return wmStorageAreaList;
    }

    public void setWmStorageAreaList(List<WmStorageArea> wmStorageAreaList) {
        this.wmStorageAreaList = wmStorageAreaList;
    }

    public int getStorageAreaCount() {
        return storageAreaCount;
    }

    public void setStorageAreaCount(int storageAreaCount) {
        this.storageAreaCount = storageAreaCount;
    }
}